<template>
  <div class="layout-container">
    <el-container class="app-container">
      <el-header>
        <h2 class="header-title">Tomcat 服务器管理系统</h2>
      </el-header>
      <el-main>
        <TomcatList />
      </el-main>
    </el-container>
  </div>
</template>

<script>
import TomcatList from './views/TomcatList.vue'

export default {
  name: 'App',
  components: {
    TomcatList
  }
}
</script>

<style>
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

#app {
  height: 100%;
}

.layout-container {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.app-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.el-header {
  background-color: #409EFF;
  padding: 0;
  height: 60px !important;
  position: relative;
  z-index: 1;
}

.header-title {
  color: white;
  margin: 0;
  line-height: 60px;
  text-align: center;
}

.el-main {
  background-color: #f0f2f5;
  flex: 1;
  padding: 20px;
  position: relative;
  z-index: 0;
}
</style> 